<? 
	require("required/dbconnect.php");
	$id=$_GET['id'];
			
	$get_video=mysql_query("select * from os_products where id=$id")or die(mysql_error());
?>

<table width="300" cellpadding="6" cellspacing="0" class="dw_float_table" bgcolor="#FFFFFF">
 
  <tr class="page_title_bar">
    <td align="left"  width="100%" > Video </td>
    <Td align="right"><a href="javascript:hideFloatContent('divVideo')"><img
				src="images/close.jpg" border=0 align="right"></img></a> </Td>
  </tr>
  <tr>
    <td align="center" valign="top" colspan="2" >
	<? if(mysql_num_rows($get_video)==0){ ?>
  - No record found - 
  <? 
	}
	else
	{
		$a=mysql_fetch_array($get_video,MYSQL_ASSOC);	
   
   
   ?>
 
   <div class="title"><?= $a['product_name_eng'] ?></div>
   <br />
       <object width="425" height="350">
    <param name="movie" value="http://www.youtube.com/v/<?= trim($a['youtube_id']) ?>&rel=0&fs=1" />
    <param name="allowFullScreen" value="true"></param>

    <embed src="http://www.youtube.com/v/<?= trim($a['youtube_id']) ?>&rel=0&fs=1"
      type="application/x-shockwave-flash" width="425" height="350" allowfullscreen="true"
 />
    </object>
   
  <? } ?>
  </td>
  
  </tr>
  
</table>
